home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 11
/
Cream of the Crop 11-1.iso
/
disk
/
eddy8b.zip
/
EDDY.USE
< prev
next >
Wrap
Text File
|
1995-12-29
|
6KB
|
132 lines
;
; EDDY.USE
;
; This file is an example, illustrating how the EDDY.USE file may be
; set up to define:
;
; 1) programs to be executed by EDDY in response to the "Point-n-Shoot"
; commands - [Shift+F9] and [Shift+^F9]. Refer to EDDY.DOC, Section
; 14.2.3 for details.
;
; 2) printer control strings, to be sent to your printer in response to
; the [Alt+9] command. Refer to EDDY.DOC, Appendix C for details.
;
; The point-n-shoot commands come first in the file. After these, there
; is a section where printer control strings may be defined for your
; printer. This area starts with a line containing "[printer]" (without
; the quotes).
;
; You should build your own EDDY.USE file (with any editor or word
; processor that can create ASCII-only text files), to define the
; types of files and the programs you use most frequently, and the
; printer commands appropriate for your printer(s).
;
; Lines beginning with a semi-colon are COMMENTS ONLY, ignored by EDDY.
; They are included here to only clarify the examples. Command lines
; have a leading blank, for readability only - the blank isn't required.
;*********************************************************************
;---------------------------------------------------------------------
; Use text editor, with 'C'/'C++' key profile
*.C C:\UTIL\EDIT\PE2 /PC:\UTIL\EDIT\CE.PRO %
*.H C:\UTIL\EDIT\PE2 /PC:\UTIL\EDIT\CE.PRO %
*.CPP C:\UTIL\EDIT\PE2 /PC:\UTIL\EDIT\CPE.PRO %
;---------------------------------------------------------------------
; Use text editor, with 'assembler' key profile
*.AS? C:\UTIL\EDIT\PE2 /PC:\UTIL\EDIT\ME.PRO %
;---------------------------------------------------------------------
; Use text editor, with 'word processing' key profile
*.BAT C:\UTIL\EDIT\PE2 /PC:\UTIL\EDIT\WP.PRO %
;---------------------------------------------------------------------
; In the following lines, the "|" in the first position means...
; ...pause after executing, to allow review of screen display...
; ...before returning to EDDY
;---------------------------------------------------------------------
; Extract from ZIP file
| *.ZIP X:\UTIL\PKUNZIP %
;
; If we press [PgDn] when the preceding command is displayed...
; ...we get this one, so we can just look at the table of contents
| *.ZIP X:\UTIL\PKZIP -v % | C:\SYS\DOS\MORE.COM
;
; Press [PgDn] yet again to set ZIP date to latest file date
*.ZIP X:\UTIL\PKZDATE %
;---------------------------------------------------------------------
; Use 'View' option of LHA (from Haruyasu Yoshizaki) on .LZH files
| *.LZH X:\UTIL\LHA V % | C:\SYS\DOS\MORE.COM
;
; Use 'View' option of ARJ on .ARJ files
| *.ARJ X:\UTIL\ARJ V % | C:\SYS\DOS\MORE.COM
;
; Use 'View' option of PKARC on .ARC files
| *.ARC X:\UTIL\PKARC V % | C:\SYS\DOS\MORE.COM
;
; Assume "EXE" is self-extracting archive
; (else why use [Sh+F9]? -- [Alt+F9] would be more normal)
| *.EXE X:\UTIL\FV V %
;---------------------------------------------------------------------
; Use Canyon State Systems' file viewing program on .GIF files
*.GIF X:\ETC\PICS\VIEWERS\2SHOW\2SHOW %
;
;---------------------------------------------------------------------
; Use IBM's "VIEW" utility for OS/2 .INF files
*.INF C:\SYS\DOS\VIEW %
;
;---------------------------------------------------------------------
; Use the A.S.P. "CATALOG" program to update catalog data files
*.DTA A:\CATALOG %
;
;*********************************************************************
; After defining all the file extensions you want to associate with a
; specific program to use with "Point-n-Shoot", you may want to
; define a default for any other types of files.
;*********************************************************************
; Use text editor, with word processor key profile for...
; ...any files not explicitly defined above -- EXCEPT...
; ...that .BAT, .COM and .EXE files will be treated as tho...
; ...you pressed [Alt+F9]. If you have a program you want...
; ...to use with executable files, put entries for those...
; ...extensions in EDDY.USE before the default (*.*) entry...
; ...See the "*.EXE" entry above, for example
*.* C:\UTIL\EDIT\PE2 /PC:\UTIL\EDIT\WP.PRO %
;
;*********************************************************************
; Finally, to use Point-n-Shoot on ALL matching files in the working
; directory (except any tagged "Ignore"), put a "^" at the beginning
; of the line. If you also put a "|" after the "^", EDDY will pause
; before resuming control, to give you a chance to look at the screen
; before continuing. These entries are used if you press [Shift+^F9].
;*********************************************************************
; Update .ZIP file timestamp to reflect newest file contained in it
^ *.ZIP X:\UTIL\PKZDATE %
;---------------------------------------------------------------------
; Print all .LST files, without pausing between files
^ *.LST C:\SYS\DOS\PRINT %
;
; End of point-n-shoot command section
;*********************************************************************
[printer] identifies start of printer control strings
;*********************************************************************
;
; IBM ProPrinter / Canon BJ commands...
;
DC2 ; Set 10 cpi pitch
ESC,'X',1,80 ; Set horizontal margins 1-80
ESC,':' ; Set 12 cpi pitch
ESC,'X',8,96 ; Set horizontal margins 8-96
DC2,SI ; Set (approximately) 17 cpi pitch
ESC,'X',5,132 ; Set horizontal margins 5-132
ESC,'P',1 ; Set proportional space mode
ESC,'P',0 ; Cancel proportional space mode
ESC,0 ; Set 1/8" line spacing
ESC,1 ; Set 7/72" line spacing
ESC,'G' ; Set double-strike printing
ESC,'H' ; Cancel double-strike printing
ESC,'W',1 ; Set double-wide character printing
ESC,'W',0 ; Cancel double-wide character printing
;
; HP LaserJet commands...
;
ESC,'&k0s' ; Set 10 cpi for HP LaserJet
ESC,'&k4s' ; Set 12 cpi for HP LaserJet
ESC,'&k2s' ; Set 17 cpi for HP LaserJet